package com.bbcloud.pojo;

import java.util.Date;

public class Link {
    private Integer id;

    private String userId;

    private Integer linkType;

    private String linkId;

    private String linkImages;

    private String description;

    private Integer mileage;

    private Integer usedTime;

    private Integer times;

    private Integer zan;

    private Date createTime;

    private Date updateTime;

    private String reserveStr1;

    private String reserveStr2;

    private Integer reserveInt1;

    private Integer reserveInt2;

    public Link(Integer id, String userId, Integer linkType, String linkId, String linkImages, String description, Integer mileage, Integer usedTime, Integer times, Integer zan, Date createTime, Date updateTime, String reserveStr1, String reserveStr2, Integer reserveInt1, Integer reserveInt2) {
        this.id = id;
        this.userId = userId;
        this.linkType = linkType;
        this.linkId = linkId;
        this.linkImages = linkImages;
        this.description = description;
        this.mileage = mileage;
        this.usedTime = usedTime;
        this.times = times;
        this.zan = zan;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.reserveStr1 = reserveStr1;
        this.reserveStr2 = reserveStr2;
        this.reserveInt1 = reserveInt1;
        this.reserveInt2 = reserveInt2;
    }

    public Link() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Integer getLinkType() {
        return linkType;
    }

    public void setLinkType(Integer linkType) {
        this.linkType = linkType;
    }

    public String getLinkId() {
        return linkId;
    }

    public void setLinkId(String linkId) {
        this.linkId = linkId == null ? null : linkId.trim();
    }

    public String getLinkImages() {
        return linkImages;
    }

    public void setLinkImages(String linkImages) {
        this.linkImages = linkImages == null ? null : linkImages.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Integer getMileage() {
        return mileage;
    }

    public void setMileage(Integer mileage) {
        this.mileage = mileage;
    }

    public Integer getUsedTime() {
        return usedTime;
    }

    public void setUsedTime(Integer usedTime) {
        this.usedTime = usedTime;
    }

    public Integer getTimes() {
        return times;
    }

    public void setTimes(Integer times) {
        this.times = times;
    }

    public Integer getZan() {
        return zan;
    }

    public void setZan(Integer zan) {
        this.zan = zan;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getReserveStr1() {
        return reserveStr1;
    }

    public void setReserveStr1(String reserveStr1) {
        this.reserveStr1 = reserveStr1 == null ? null : reserveStr1.trim();
    }

    public String getReserveStr2() {
        return reserveStr2;
    }

    public void setReserveStr2(String reserveStr2) {
        this.reserveStr2 = reserveStr2 == null ? null : reserveStr2.trim();
    }

    public Integer getReserveInt1() {
        return reserveInt1;
    }

    public void setReserveInt1(Integer reserveInt1) {
        this.reserveInt1 = reserveInt1;
    }

    public Integer getReserveInt2() {
        return reserveInt2;
    }

    public void setReserveInt2(Integer reserveInt2) {
        this.reserveInt2 = reserveInt2;
    }
}